<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script type="text/javascript" src="/pages/js/shuoheUtil.js"></script>

<title>新建产模板品</title>

<style type="text/css">
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
</style>

<script src="/pages/js/prefixfree.min.js"></script>

</head>

<body class="easyui-layout"  style="width: 100%;height: 100%;">
   
</body>
</html>
<script type="text/javascript">
    

var Product = new Object();
var ProductSort = new Object();
var ProductMaterials = new Object();
var ProductSortParam = new Object();

$(function()
{
    var result = Easyui.Ajax.get('/product/sort/getByUuid.do?uuid='+shuoheUtil.getUrlHeader().uuid);
    if(result.result == false)
    {
        shuoheUtil.layerMsgCustom('产品大类数据价值失败');
        return;
    }
    //加载产品部件内容类型
    var sort_list = Easyui.Ajax.get('/product/sort/sort_list.do?uuid='+shuoheUtil.getUrlHeader().uuid);
    if(sort_list.result == false)
    {
        shuoheUtil.layerMsgCustom('产品部件类型加载失败');
        return;
    }


    {
        ProductSort = result.obj;
        ProductSortParam = sort_list.obj;
        console.info('ProductSort = '+JSON.stringify(ProductSort));
        console.info('ProductSortParam = '+JSON.stringify(ProductSortParam));
    }
})

</script>